package com.zhujiaji.common;

/**
 * @author 朱佳吉
 * @date 2024/3/16 21:30
 */
public class UserThreadLocal {
    private static final ThreadLocal threadLocal = new ThreadLocal();

    public static void put(Object obj) {
        threadLocal.set(obj);
    }

    public static Object get() {
        return threadLocal.get();
    }

    public static void clear() {
        threadLocal.remove();
    }
}
